<template>
  <div class="about">
    <h1>This is an about page</h1>  
    <h3  >{{ count }}</h3> 
  {{this.$store.state.count}}
    <button type='button' @click='add'>dddd</button>
     {{msg}}
  </div>
 
</template>
<script>

export default {
  data(){
return {
  msg:11
}
  },
  
  methods:{
    add(){
    const v=100
      this.$store.commit('addvuex',v)
    }
  },
  computed:{
    count(){
      return this.$store.state.count;
    }
  }
}
</script>

